package com.hy.admin.dao;

import com.hy.admin.entity.CourseSeriesEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CourseSeriesDao {
    int deleteByPrimaryKey(Long id);

    int insert(CourseSeriesEntity record);

    int insertSelective(CourseSeriesEntity record);

    CourseSeriesEntity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CourseSeriesEntity record);

    int updateByPrimaryKey(CourseSeriesEntity record);

    List<CourseSeriesEntity> selectByMid(Long memberId);
}